import biApi from '@/config/server/api/bi.js'

function list(info) {
  return biApi.achievementConfirm.list.fetch(info)
}

function exportExl(info) {
  return biApi.achievementConfirm.export.fetch(info)
}

function enclosureSearch(annexIds) {
  return biApi.achievementConfirm.enclosure.search.fetch({ annexIds })
}

function enclosureDownload(annexIds, annexType) {
  return biApi.achievementConfirm.enclosure.download.fetch({ annexIds, annexType })
}

export default {
  list,
  export: exportExl,
  enclosureSearch,
  enclosureDownload
}
